<!DOCTYPE html>
<html lang="cn" class="app fadeInUp animated">
<head>
  <meta charset="utf-8"/>
  <title>{$_SERVER['WEB_NAME']}—国内最专业的小程序管理平台</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
  <link href="/assets/stylesheets/bootstrap.min.css" rel="stylesheet"/>
  <link href="/assets/stylesheets/font-awesome.min.css" rel="stylesheet"/>
  <style>
    .nowrap{
      white-space: nowrap;
    }
    .canwrap{
      word-break: break-all;
    }
    /*dao hang*/
    .public-header-nav{
      background: #fff;
      border-bottom: 1px solid #e6e6e6;
      padding-top: 8px;
      display: flex;
      align-items: center;
      padding-left: 0;
      /*margin-right: 10px;*/
      margin: 0;
    }
    .public-header-nav li{
      line-height: 40px;
      padding: 0 15px;
      list-style: none;
    }
    .public-header-nav li a{
      color: #333;
      font-size: 14px;
      border-bottom: 2px solid #fff;
      text-decoration: none;
    }
    .public-header-nav-active{
      color: #1E9FFF !important;
      border-bottom: 2px solid #1E9FFF !important;
    }
  </style>
</head>

<body>
  <ul class="public-header-nav">
      <li><a href="../balance.html">账户充值</a></li>
      <li><a href="../updatePwd.html">修改密码</a></li>
      <li><a href="../myAccount.html">升级续费</a></li>
      <li><a href="balance.html">短信余额</a></li>
      <li class="public-header-nav-active"><a href="sendRecord.html">短信发送记录</a></li>
    </ul>
<div class="container-fluid" style="padding-top: 15px">
  <div class="row">
    <div class="col-md-12">
      <!--发送记录面板-->
      <div class="panel panel-default">
        <div class="panel-heading">
          短信发送记录
        </div>
        <div class="panel-body">
          <table class="table">
            <tr>
              <th>发送时间</th>
              <th>收信人</th>
              <th>内容</th>
              <th>发送状态</th>
              <th>返回码</th>
            </tr>
            {loop $records as $record}
            <tr>
              <td class="nowrap">{date('Y-m-d H:i:s',$record['ctime'])}</td>
              <td class="nowrap">{$record['tel']}</td>
              <td>{$record['content']}</td>
              <td class="nowrap">
                {if ($record['status']==1)}
                成功
                {else}
                失败
                {/if}
              </td>
              <td class="nowrap">
                {$record['return_code']}
              </td>
            </tr>
            {/loop}
          </table>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="/mix/jquery.min.js"></script>
<script src="/mix/layer.js"></script>
<script>
  // $('#btn-recharge').on('click', function () {
  //   layer.open({
  //     type: 2,
  //     title: '充值',
  //     shadeClose: true,
  //     shade: false,
  //     maxmin: true, //开启最大化最小化按钮
  //     area: ['893px', '600px'],
  //     content: 'recharge.html',
  //     end: function () { //此处用于演示
  //       location.reload(1);
  //     }
  //   });
  // });
</script>

</body>

</html>
